package com.app.lxx.pregnancyberth.ui.entity;

import java.util.List;

/**
 * Created by Lxx on PregnancyBerth
 * 2019/8/14 19:38 星期三
 */
public class EbookSpTpEntity {

    /**
     * code : 1
     * msg : 请求成功
     * time : 1565782806
     * data : [{"id":7,"maternal_id":4,"shiduan":"1","category":"3","title":"哈哈哈","createtime":1565782787,"deletetime":null,"weigh":7,"file":"/uploads/20190814/f0e0a3db1570ecef4f213d6ebeb57abd.png","shiduan_text":"Shiduan 1","category_text":"Category 3"}]
     */

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 7
         * maternal_id : 4
         * shiduan : 1
         * category : 3
         * title : 哈哈哈
         * createtime : 1565782787
         * deletetime : null
         * weigh : 7
         * file : /uploads/20190814/f0e0a3db1570ecef4f213d6ebeb57abd.png
         * shiduan_text : Shiduan 1
         * category_text : Category 3
         */

        private int id;
        private int maternal_id;
        private String shiduan;
        private String category;
        private String title;
        private int createtime;
        private Object deletetime;
        private int weigh;
        private String file;
        private String shiduan_text;
        private String category_text;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMaternal_id() {
            return maternal_id;
        }

        public void setMaternal_id(int maternal_id) {
            this.maternal_id = maternal_id;
        }

        public String getShiduan() {
            return shiduan;
        }

        public void setShiduan(String shiduan) {
            this.shiduan = shiduan;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getCreatetime() {
            return createtime;
        }

        public void setCreatetime(int createtime) {
            this.createtime = createtime;
        }

        public Object getDeletetime() {
            return deletetime;
        }

        public void setDeletetime(Object deletetime) {
            this.deletetime = deletetime;
        }

        public int getWeigh() {
            return weigh;
        }

        public void setWeigh(int weigh) {
            this.weigh = weigh;
        }

        public String getFile() {
            return file;
        }

        public void setFile(String file) {
            this.file = file;
        }

        public String getShiduan_text() {
            return shiduan_text;
        }

        public void setShiduan_text(String shiduan_text) {
            this.shiduan_text = shiduan_text;
        }

        public String getCategory_text() {
            return category_text;
        }

        public void setCategory_text(String category_text) {
            this.category_text = category_text;
        }
    }
}
